package com.alibaba.algo.domain.user;


import com.alibaba.algo.Application;
import com.alibaba.algo.entity.user.SysPosition;
import com.alibaba.fastjson.JSON;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.List;

/**
 * @author : WangZhiPan
 * @date : 2021/9/24 9:56
 */
@SpringBootTest(classes = Application.class)
@RunWith(SpringRunner.class)
@Slf4j
public class SysPositionDomainTest {

    @Autowired
    SysPositionDomain positionDomain;

    @Test
    public void testList() {
        List<SysPosition> list = positionDomain.list(67L);
        log.info("position resp={}", JSON.toJSONString(list));
    }
}
